
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/jquery.min.js"></script>
    <!-- 引入bootstarp -->
    <script type="text/javascript" src="../js/bootstrap3/js/bootstrap.js"></script>
    <link rel="stylesheet" href="../js/bootstrap3/css/bootstrap.css">
    <!-- 引入tree的js、css -->
    <script type="text/javascript" src="../js/bootstrap-treeview/bootstrap-treeview.min.js"></script>
    <link rel="stylesheet" href="../js/bootstrap-treeview/bootstrap-treeview.min.css">
    <!-- 引入选项卡的js、css -->
    <script type="text/javascript" src="../js/bootStrap-addTabs/bootstrap.addtabs.js"></script>
    <link rel="stylesheet" href="../js/bootStrap-addTabs/bootstrap.addtabs.css">


    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="../js/css/common.css" rel="stylesheet" type="text/css" />
    <link href="../js/css/style.css" rel="stylesheet" type="text/css" />
    <link href="../js/css/lunbo.css" rel="stylesheet" type="text/css" />


</head>
<body >
<!--background="../js/images/65616.png"-->



<nav class="navbar navbar-inverse navbar-fixed-top"> <!--定义在容器顶部  -->
    <div class="container-fluid">
        <button type="button" class="navbar-toggle collapsed"
                data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
                aria-expanded="false">
            <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span>
            <span class="icon-bar"></span> <span class="icon-bar"></span>
        </button>
        <!-- Brand and toggle get grouped for better mobile display -->
        <!-- 头部信息 -->
        <div class="navbar-header">

            <a class="navbar-brand glyphicon glyphicon-globe"
               href="../page/shopCar" id="menu-toggle"> 我的购物 </a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse"
             id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li class="active ">
                    <a href="../page/zhuye"class="glyphicon glyphicon-shopping-cart">&nbsp首页
                        <span class="sr-only">(current)</span></a></li>
                <li>
                    <a href="#" ></a>
                </li>
                <li>
                    <a href="#" ></a>
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle glyphicon glyphicon-text-color" data-toggle="dropdown" role="button" aria-haspopup="true"aria-expanded="false">账户设置
                        <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="../page/lianxime" class="glyphicon glyphicon-cloud">云计算</a></li>
                        <li><a href="../page/lianxime" class="glyphicon glyphicon-th">云应用</a></li>
                        <li><a href="../page/lianxime" class="glyphicon glyphicon-info-sign">云服务</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="../page/lianxime" class="glyphicon glyphicon-cloud-upload">大数据</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="../page/lianxime" class="glyphicon glyphicon-cloud-download">数据挖掘</a></li>
                    </ul>
                </li>
            </ul>
            <form class="navbar-form navbar-left">
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="Search">
                </div>
                <button type="submit" class="btn btn-default">Submit</button>
            </form>

            <!-- 右边的    导航 按钮 -->
            <ul class="nav navbar-nav navbar-right">
                <li>
                    <a href="../page/lianxime">消息</a>
                </li>
                <!--<li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown
                        <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="#">Action</a></li>
                        <li><a href="#">Another action</a></li>
                        <li><a href="#">Something else here</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="#">Separated link</a></li>
                    </ul>
                </li>-->
            </ul>
        </div>
        <!-- /.navbar-collapse -->
    </div>
</nav><br><br><br>







<!--顶部图层-->
<div id="header_top">
    <div id="top">
        <div class="Inside_pages">
            <div class="Collection">您好，欢迎光临金科网购商城！<em></em><a href="../page/shoucang">我的收藏</a></div>
            <div class="hd_top_manu clearfix">
                <ul class="clearfix">
                    <li class="hd_menu_tit zhuce" data-addclass="hd_menu_hover">欢迎光临本店！
                    <li class="hd_menu_tit" data-addclass="hd_menu_hover"><a href="#">我的订单</a></li>
                    <li class="hd_menu_tit" data-addclass="hd_menu_hover"><a href="#">我的订单</a></li>
                    <li class="hd_menu_tit" data-addclass="hd_menu_hover"><a href="../page/lianxime">联系我们</a></li>
                    <li class="hd_menu_tit" data-addclass="hd_menu_hover"><a onclick="logout()">注销</a></li>
                    <li class="hd_menu_tit list_name" data-addclass="hd_menu_hover">
                        <div class="hd_menu_list">
                            <ul>
                                <li><a href="../page/lianxime">常见问题</a></li>
                                <li><a href="../page/lianxime">在线退货</a></li>
                                <li><a href="../page/lianxime">在线投诉</a></li>
                                <li><a href="../page/lianxime">配送范围</a></li>
                            </ul>
                        </div>
                    </li>

                    <div class="hd_menu_list erweima">

                    </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>

<!-- /.container-fluid -->
<!-- ============================导航结束==================================-->
<!--=========栅格布局 ==============-->


<div class="container-fluid">
        <div class="col-md-2 col-dm-2 col=xs-2">
            <div id="myTree"></div>
        </div>
        <div class="col-md-10  col-dm-10 col=xs-10 ">
            <div id="myTabs">
                <!--新选项卡  -->
                <ul class="nav nav-tabs" id="tablist">
                    <li role="presentation" class="active">
                        <a href="#home" role="tab" data-toggle="tab">欢迎</a>
                    </li>
                </ul>
                <!--选项卡下的内容  -->
                <div class="tab-content">
                    <div role="tabpanel" class="tab-pane active" id="home">
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script>
    //初始化导航树
    $(function(){
        initNavTree();
    })
    function initNavTree(){
        $.ajax({
            url:"../wjs/findMaiList",
            data:{},
            success:function(data){
                $("#myTree").treeview({
                    data:data,
                    onNodeSelected:function(event,node){
                        $.addtabs({iframeHeight:500});
                        $.addtabs.add({
                            id:node.id,
                            title:node.text,
                            url:"../"+node.path

                        });
                    }
                });
            }
        })
    }
    function login(){
        location.href="../page/toLogin";
    }
    //注销
    function logout(){
        location.href="../wjs/logout";
    }
</script>
</html>